<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--CDN引入方式-->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>

<div id="app">
    <h1>{{msg}}</h1>
    <label>请输入数量: </label><input type="text" v-model="num"><br>
    <label>请输入价格: </label><input type="text" v-model="price"><br>
    <b>您输入的数量为：{{num}}，价格为：{{price}}</b>
    <h1>计算属性的值为：{{sum}}</h1>
</div>

</body>

<script src="../js/vue09.js" />

</html>